package com.example.proxy.dynamic.myjdk;

public class MyProxyTest {

    public static void main(String[] args) {

        ManProxy manProxy = new ManProxy(new Man());
        Person instance = (Person) manProxy.getInstance();
        String sd = instance.findLove(5, "sd",34D);
        System.out.println(sd);

        System.out.println(instance.add());

    }
}
